IRange
StockSharp.Xaml.Charting
Defines the generic interface to a Range (Min, Max), used throughout Ultrachart for visible, data and index range calculations
Implements: IRange, ICloneable, INotifyPropertyChanged
Properties
Diff : T
Gets the Diff (Max - Min) of this range
Max : T
Gets or sets the Max value of this range
Min : T
Gets or sets the Min value of this range
Methods
GrowBy(double, double) : IRange<T>
Grows the current IRange by the min and max fraction, returning this instance after modification
- minFraction
- The Min fraction to grow by. For example, Min = -10 and minFraction = 0.1 will result in the new Min = -11
- maxFraction
- The Max fraction to grow by. For example, Max = 10 and maxFraction = 0.2 will result in the new Max = 12
Returns: This instance, after the operation